package com.bosc.modeling.pojo.gen;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CompetitionEntityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CompetitionEntityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCompetitionIdIsNull() {
            addCriterion("competition_id is null");
            return (Criteria) this;
        }

        public Criteria andCompetitionIdIsNotNull() {
            addCriterion("competition_id is not null");
            return (Criteria) this;
        }

        public Criteria andCompetitionIdEqualTo(String value) {
            addCriterion("competition_id =", value, "competitionId");
            return (Criteria) this;
        }

        public Criteria andCompetitionIdNotEqualTo(String value) {
            addCriterion("competition_id <>", value, "competitionId");
            return (Criteria) this;
        }

        public Criteria andCompetitionIdGreaterThan(String value) {
            addCriterion("competition_id >", value, "competitionId");
            return (Criteria) this;
        }

        public Criteria andCompetitionIdGreaterThanOrEqualTo(String value) {
            addCriterion("competition_id >=", value, "competitionId");
            return (Criteria) this;
        }

        public Criteria andCompetitionIdLessThan(String value) {
            addCriterion("competition_id <", value, "competitionId");
            return (Criteria) this;
        }

        public Criteria andCompetitionIdLessThanOrEqualTo(String value) {
            addCriterion("competition_id <=", value, "competitionId");
            return (Criteria) this;
        }

        public Criteria andCompetitionIdLike(String value) {
            addCriterion("competition_id like", value, "competitionId");
            return (Criteria) this;
        }

        public Criteria andCompetitionIdNotLike(String value) {
            addCriterion("competition_id not like", value, "competitionId");
            return (Criteria) this;
        }

        public Criteria andCompetitionIdIn(List<String> values) {
            addCriterion("competition_id in", values, "competitionId");
            return (Criteria) this;
        }

        public Criteria andCompetitionIdNotIn(List<String> values) {
            addCriterion("competition_id not in", values, "competitionId");
            return (Criteria) this;
        }

        public Criteria andCompetitionIdBetween(String value1, String value2) {
            addCriterion("competition_id between", value1, value2, "competitionId");
            return (Criteria) this;
        }

        public Criteria andCompetitionIdNotBetween(String value1, String value2) {
            addCriterion("competition_id not between", value1, value2, "competitionId");
            return (Criteria) this;
        }

        public Criteria andCompetitionNameIsNull() {
            addCriterion("competition_name is null");
            return (Criteria) this;
        }

        public Criteria andCompetitionNameIsNotNull() {
            addCriterion("competition_name is not null");
            return (Criteria) this;
        }

        public Criteria andCompetitionNameEqualTo(String value) {
            addCriterion("competition_name =", value, "competitionName");
            return (Criteria) this;
        }

        public Criteria andCompetitionNameNotEqualTo(String value) {
            addCriterion("competition_name <>", value, "competitionName");
            return (Criteria) this;
        }

        public Criteria andCompetitionNameGreaterThan(String value) {
            addCriterion("competition_name >", value, "competitionName");
            return (Criteria) this;
        }

        public Criteria andCompetitionNameGreaterThanOrEqualTo(String value) {
            addCriterion("competition_name >=", value, "competitionName");
            return (Criteria) this;
        }

        public Criteria andCompetitionNameLessThan(String value) {
            addCriterion("competition_name <", value, "competitionName");
            return (Criteria) this;
        }

        public Criteria andCompetitionNameLessThanOrEqualTo(String value) {
            addCriterion("competition_name <=", value, "competitionName");
            return (Criteria) this;
        }

        public Criteria andCompetitionNameLike(String value) {
            addCriterion("competition_name like", value, "competitionName");
            return (Criteria) this;
        }

        public Criteria andCompetitionNameNotLike(String value) {
            addCriterion("competition_name not like", value, "competitionName");
            return (Criteria) this;
        }

        public Criteria andCompetitionNameIn(List<String> values) {
            addCriterion("competition_name in", values, "competitionName");
            return (Criteria) this;
        }

        public Criteria andCompetitionNameNotIn(List<String> values) {
            addCriterion("competition_name not in", values, "competitionName");
            return (Criteria) this;
        }

        public Criteria andCompetitionNameBetween(String value1, String value2) {
            addCriterion("competition_name between", value1, value2, "competitionName");
            return (Criteria) this;
        }

        public Criteria andCompetitionNameNotBetween(String value1, String value2) {
            addCriterion("competition_name not between", value1, value2, "competitionName");
            return (Criteria) this;
        }

        public Criteria andCompetitionDescIsNull() {
            addCriterion("competition_desc is null");
            return (Criteria) this;
        }

        public Criteria andCompetitionDescIsNotNull() {
            addCriterion("competition_desc is not null");
            return (Criteria) this;
        }

        public Criteria andCompetitionDescEqualTo(String value) {
            addCriterion("competition_desc =", value, "competitionDesc");
            return (Criteria) this;
        }

        public Criteria andCompetitionDescNotEqualTo(String value) {
            addCriterion("competition_desc <>", value, "competitionDesc");
            return (Criteria) this;
        }

        public Criteria andCompetitionDescGreaterThan(String value) {
            addCriterion("competition_desc >", value, "competitionDesc");
            return (Criteria) this;
        }

        public Criteria andCompetitionDescGreaterThanOrEqualTo(String value) {
            addCriterion("competition_desc >=", value, "competitionDesc");
            return (Criteria) this;
        }

        public Criteria andCompetitionDescLessThan(String value) {
            addCriterion("competition_desc <", value, "competitionDesc");
            return (Criteria) this;
        }

        public Criteria andCompetitionDescLessThanOrEqualTo(String value) {
            addCriterion("competition_desc <=", value, "competitionDesc");
            return (Criteria) this;
        }

        public Criteria andCompetitionDescLike(String value) {
            addCriterion("competition_desc like", value, "competitionDesc");
            return (Criteria) this;
        }

        public Criteria andCompetitionDescNotLike(String value) {
            addCriterion("competition_desc not like", value, "competitionDesc");
            return (Criteria) this;
        }

        public Criteria andCompetitionDescIn(List<String> values) {
            addCriterion("competition_desc in", values, "competitionDesc");
            return (Criteria) this;
        }

        public Criteria andCompetitionDescNotIn(List<String> values) {
            addCriterion("competition_desc not in", values, "competitionDesc");
            return (Criteria) this;
        }

        public Criteria andCompetitionDescBetween(String value1, String value2) {
            addCriterion("competition_desc between", value1, value2, "competitionDesc");
            return (Criteria) this;
        }

        public Criteria andCompetitionDescNotBetween(String value1, String value2) {
            addCriterion("competition_desc not between", value1, value2, "competitionDesc");
            return (Criteria) this;
        }

        public Criteria andDataDescIsNull() {
            addCriterion("data_desc is null");
            return (Criteria) this;
        }

        public Criteria andDataDescIsNotNull() {
            addCriterion("data_desc is not null");
            return (Criteria) this;
        }

        public Criteria andDataDescEqualTo(String value) {
            addCriterion("data_desc =", value, "dataDesc");
            return (Criteria) this;
        }

        public Criteria andDataDescNotEqualTo(String value) {
            addCriterion("data_desc <>", value, "dataDesc");
            return (Criteria) this;
        }

        public Criteria andDataDescGreaterThan(String value) {
            addCriterion("data_desc >", value, "dataDesc");
            return (Criteria) this;
        }

        public Criteria andDataDescGreaterThanOrEqualTo(String value) {
            addCriterion("data_desc >=", value, "dataDesc");
            return (Criteria) this;
        }

        public Criteria andDataDescLessThan(String value) {
            addCriterion("data_desc <", value, "dataDesc");
            return (Criteria) this;
        }

        public Criteria andDataDescLessThanOrEqualTo(String value) {
            addCriterion("data_desc <=", value, "dataDesc");
            return (Criteria) this;
        }

        public Criteria andDataDescLike(String value) {
            addCriterion("data_desc like", value, "dataDesc");
            return (Criteria) this;
        }

        public Criteria andDataDescNotLike(String value) {
            addCriterion("data_desc not like", value, "dataDesc");
            return (Criteria) this;
        }

        public Criteria andDataDescIn(List<String> values) {
            addCriterion("data_desc in", values, "dataDesc");
            return (Criteria) this;
        }

        public Criteria andDataDescNotIn(List<String> values) {
            addCriterion("data_desc not in", values, "dataDesc");
            return (Criteria) this;
        }

        public Criteria andDataDescBetween(String value1, String value2) {
            addCriterion("data_desc between", value1, value2, "dataDesc");
            return (Criteria) this;
        }

        public Criteria andDataDescNotBetween(String value1, String value2) {
            addCriterion("data_desc not between", value1, value2, "dataDesc");
            return (Criteria) this;
        }

        public Criteria andTrainDataUrlIsNull() {
            addCriterion("train_data_url is null");
            return (Criteria) this;
        }

        public Criteria andTrainDataUrlIsNotNull() {
            addCriterion("train_data_url is not null");
            return (Criteria) this;
        }

        public Criteria andTrainDataUrlEqualTo(String value) {
            addCriterion("train_data_url =", value, "trainDataUrl");
            return (Criteria) this;
        }

        public Criteria andTrainDataUrlNotEqualTo(String value) {
            addCriterion("train_data_url <>", value, "trainDataUrl");
            return (Criteria) this;
        }

        public Criteria andTrainDataUrlGreaterThan(String value) {
            addCriterion("train_data_url >", value, "trainDataUrl");
            return (Criteria) this;
        }

        public Criteria andTrainDataUrlGreaterThanOrEqualTo(String value) {
            addCriterion("train_data_url >=", value, "trainDataUrl");
            return (Criteria) this;
        }

        public Criteria andTrainDataUrlLessThan(String value) {
            addCriterion("train_data_url <", value, "trainDataUrl");
            return (Criteria) this;
        }

        public Criteria andTrainDataUrlLessThanOrEqualTo(String value) {
            addCriterion("train_data_url <=", value, "trainDataUrl");
            return (Criteria) this;
        }

        public Criteria andTrainDataUrlLike(String value) {
            addCriterion("train_data_url like", value, "trainDataUrl");
            return (Criteria) this;
        }

        public Criteria andTrainDataUrlNotLike(String value) {
            addCriterion("train_data_url not like", value, "trainDataUrl");
            return (Criteria) this;
        }

        public Criteria andTrainDataUrlIn(List<String> values) {
            addCriterion("train_data_url in", values, "trainDataUrl");
            return (Criteria) this;
        }

        public Criteria andTrainDataUrlNotIn(List<String> values) {
            addCriterion("train_data_url not in", values, "trainDataUrl");
            return (Criteria) this;
        }

        public Criteria andTrainDataUrlBetween(String value1, String value2) {
            addCriterion("train_data_url between", value1, value2, "trainDataUrl");
            return (Criteria) this;
        }

        public Criteria andTrainDataUrlNotBetween(String value1, String value2) {
            addCriterion("train_data_url not between", value1, value2, "trainDataUrl");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlAIsNull() {
            addCriterion("test_data_url_A is null");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlAIsNotNull() {
            addCriterion("test_data_url_A is not null");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlAEqualTo(String value) {
            addCriterion("test_data_url_A =", value, "testDataUrlA");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlANotEqualTo(String value) {
            addCriterion("test_data_url_A <>", value, "testDataUrlA");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlAGreaterThan(String value) {
            addCriterion("test_data_url_A >", value, "testDataUrlA");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlAGreaterThanOrEqualTo(String value) {
            addCriterion("test_data_url_A >=", value, "testDataUrlA");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlALessThan(String value) {
            addCriterion("test_data_url_A <", value, "testDataUrlA");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlALessThanOrEqualTo(String value) {
            addCriterion("test_data_url_A <=", value, "testDataUrlA");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlALike(String value) {
            addCriterion("test_data_url_A like", value, "testDataUrlA");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlANotLike(String value) {
            addCriterion("test_data_url_A not like", value, "testDataUrlA");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlAIn(List<String> values) {
            addCriterion("test_data_url_A in", values, "testDataUrlA");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlANotIn(List<String> values) {
            addCriterion("test_data_url_A not in", values, "testDataUrlA");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlABetween(String value1, String value2) {
            addCriterion("test_data_url_A between", value1, value2, "testDataUrlA");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlANotBetween(String value1, String value2) {
            addCriterion("test_data_url_A not between", value1, value2, "testDataUrlA");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlBIsNull() {
            addCriterion("test_data_url_B is null");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlBIsNotNull() {
            addCriterion("test_data_url_B is not null");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlBEqualTo(String value) {
            addCriterion("test_data_url_B =", value, "testDataUrlB");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlBNotEqualTo(String value) {
            addCriterion("test_data_url_B <>", value, "testDataUrlB");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlBGreaterThan(String value) {
            addCriterion("test_data_url_B >", value, "testDataUrlB");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlBGreaterThanOrEqualTo(String value) {
            addCriterion("test_data_url_B >=", value, "testDataUrlB");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlBLessThan(String value) {
            addCriterion("test_data_url_B <", value, "testDataUrlB");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlBLessThanOrEqualTo(String value) {
            addCriterion("test_data_url_B <=", value, "testDataUrlB");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlBLike(String value) {
            addCriterion("test_data_url_B like", value, "testDataUrlB");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlBNotLike(String value) {
            addCriterion("test_data_url_B not like", value, "testDataUrlB");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlBIn(List<String> values) {
            addCriterion("test_data_url_B in", values, "testDataUrlB");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlBNotIn(List<String> values) {
            addCriterion("test_data_url_B not in", values, "testDataUrlB");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlBBetween(String value1, String value2) {
            addCriterion("test_data_url_B between", value1, value2, "testDataUrlB");
            return (Criteria) this;
        }

        public Criteria andTestDataUrlBNotBetween(String value1, String value2) {
            addCriterion("test_data_url_B not between", value1, value2, "testDataUrlB");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeAIsNull() {
            addCriterion("end_time_A is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeAIsNotNull() {
            addCriterion("end_time_A is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeAEqualTo(Date value) {
            addCriterion("end_time_A =", value, "endTimeA");
            return (Criteria) this;
        }

        public Criteria andEndTimeANotEqualTo(Date value) {
            addCriterion("end_time_A <>", value, "endTimeA");
            return (Criteria) this;
        }

        public Criteria andEndTimeAGreaterThan(Date value) {
            addCriterion("end_time_A >", value, "endTimeA");
            return (Criteria) this;
        }

        public Criteria andEndTimeAGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time_A >=", value, "endTimeA");
            return (Criteria) this;
        }

        public Criteria andEndTimeALessThan(Date value) {
            addCriterion("end_time_A <", value, "endTimeA");
            return (Criteria) this;
        }

        public Criteria andEndTimeALessThanOrEqualTo(Date value) {
            addCriterion("end_time_A <=", value, "endTimeA");
            return (Criteria) this;
        }

        public Criteria andEndTimeAIn(List<Date> values) {
            addCriterion("end_time_A in", values, "endTimeA");
            return (Criteria) this;
        }

        public Criteria andEndTimeANotIn(List<Date> values) {
            addCriterion("end_time_A not in", values, "endTimeA");
            return (Criteria) this;
        }

        public Criteria andEndTimeABetween(Date value1, Date value2) {
            addCriterion("end_time_A between", value1, value2, "endTimeA");
            return (Criteria) this;
        }

        public Criteria andEndTimeANotBetween(Date value1, Date value2) {
            addCriterion("end_time_A not between", value1, value2, "endTimeA");
            return (Criteria) this;
        }

        public Criteria andEndTimeBIsNull() {
            addCriterion("end_time_B is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeBIsNotNull() {
            addCriterion("end_time_B is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeBEqualTo(Date value) {
            addCriterion("end_time_B =", value, "endTimeB");
            return (Criteria) this;
        }

        public Criteria andEndTimeBNotEqualTo(Date value) {
            addCriterion("end_time_B <>", value, "endTimeB");
            return (Criteria) this;
        }

        public Criteria andEndTimeBGreaterThan(Date value) {
            addCriterion("end_time_B >", value, "endTimeB");
            return (Criteria) this;
        }

        public Criteria andEndTimeBGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time_B >=", value, "endTimeB");
            return (Criteria) this;
        }

        public Criteria andEndTimeBLessThan(Date value) {
            addCriterion("end_time_B <", value, "endTimeB");
            return (Criteria) this;
        }

        public Criteria andEndTimeBLessThanOrEqualTo(Date value) {
            addCriterion("end_time_B <=", value, "endTimeB");
            return (Criteria) this;
        }

        public Criteria andEndTimeBIn(List<Date> values) {
            addCriterion("end_time_B in", values, "endTimeB");
            return (Criteria) this;
        }

        public Criteria andEndTimeBNotIn(List<Date> values) {
            addCriterion("end_time_B not in", values, "endTimeB");
            return (Criteria) this;
        }

        public Criteria andEndTimeBBetween(Date value1, Date value2) {
            addCriterion("end_time_B between", value1, value2, "endTimeB");
            return (Criteria) this;
        }

        public Criteria andEndTimeBNotBetween(Date value1, Date value2) {
            addCriterion("end_time_B not between", value1, value2, "endTimeB");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(Short value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(Short value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(Short value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(Short value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(Short value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(Short value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<Short> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<Short> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(Short value1, Short value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(Short value1, Short value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andOwnerIsNull() {
            addCriterion("owner is null");
            return (Criteria) this;
        }

        public Criteria andOwnerIsNotNull() {
            addCriterion("owner is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerEqualTo(String value) {
            addCriterion("owner =", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerNotEqualTo(String value) {
            addCriterion("owner <>", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerGreaterThan(String value) {
            addCriterion("owner >", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerGreaterThanOrEqualTo(String value) {
            addCriterion("owner >=", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerLessThan(String value) {
            addCriterion("owner <", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerLessThanOrEqualTo(String value) {
            addCriterion("owner <=", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerLike(String value) {
            addCriterion("owner like", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerNotLike(String value) {
            addCriterion("owner not like", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerIn(List<String> values) {
            addCriterion("owner in", values, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerNotIn(List<String> values) {
            addCriterion("owner not in", values, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerBetween(String value1, String value2) {
            addCriterion("owner between", value1, value2, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerNotBetween(String value1, String value2) {
            addCriterion("owner not between", value1, value2, "owner");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNull() {
            addCriterion("creator is null");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNotNull() {
            addCriterion("creator is not null");
            return (Criteria) this;
        }

        public Criteria andCreatorEqualTo(String value) {
            addCriterion("creator =", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotEqualTo(String value) {
            addCriterion("creator <>", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThan(String value) {
            addCriterion("creator >", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThanOrEqualTo(String value) {
            addCriterion("creator >=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThan(String value) {
            addCriterion("creator <", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThanOrEqualTo(String value) {
            addCriterion("creator <=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLike(String value) {
            addCriterion("creator like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotLike(String value) {
            addCriterion("creator not like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorIn(List<String> values) {
            addCriterion("creator in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotIn(List<String> values) {
            addCriterion("creator not in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorBetween(String value1, String value2) {
            addCriterion("creator between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotBetween(String value1, String value2) {
            addCriterion("creator not between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andEvaluationIsNull() {
            addCriterion("evaluation is null");
            return (Criteria) this;
        }

        public Criteria andEvaluationIsNotNull() {
            addCriterion("evaluation is not null");
            return (Criteria) this;
        }

        public Criteria andEvaluationEqualTo(String value) {
            addCriterion("evaluation =", value, "evaluation");
            return (Criteria) this;
        }

        public Criteria andEvaluationNotEqualTo(String value) {
            addCriterion("evaluation <>", value, "evaluation");
            return (Criteria) this;
        }

        public Criteria andEvaluationGreaterThan(String value) {
            addCriterion("evaluation >", value, "evaluation");
            return (Criteria) this;
        }

        public Criteria andEvaluationGreaterThanOrEqualTo(String value) {
            addCriterion("evaluation >=", value, "evaluation");
            return (Criteria) this;
        }

        public Criteria andEvaluationLessThan(String value) {
            addCriterion("evaluation <", value, "evaluation");
            return (Criteria) this;
        }

        public Criteria andEvaluationLessThanOrEqualTo(String value) {
            addCriterion("evaluation <=", value, "evaluation");
            return (Criteria) this;
        }

        public Criteria andEvaluationLike(String value) {
            addCriterion("evaluation like", value, "evaluation");
            return (Criteria) this;
        }

        public Criteria andEvaluationNotLike(String value) {
            addCriterion("evaluation not like", value, "evaluation");
            return (Criteria) this;
        }

        public Criteria andEvaluationIn(List<String> values) {
            addCriterion("evaluation in", values, "evaluation");
            return (Criteria) this;
        }

        public Criteria andEvaluationNotIn(List<String> values) {
            addCriterion("evaluation not in", values, "evaluation");
            return (Criteria) this;
        }

        public Criteria andEvaluationBetween(String value1, String value2) {
            addCriterion("evaluation between", value1, value2, "evaluation");
            return (Criteria) this;
        }

        public Criteria andEvaluationNotBetween(String value1, String value2) {
            addCriterion("evaluation not between", value1, value2, "evaluation");
            return (Criteria) this;
        }

        public Criteria andRatioAIsNull() {
            addCriterion("ratio_A is null");
            return (Criteria) this;
        }

        public Criteria andRatioAIsNotNull() {
            addCriterion("ratio_A is not null");
            return (Criteria) this;
        }

        public Criteria andRatioAEqualTo(Double value) {
            addCriterion("ratio_A =", value, "ratioA");
            return (Criteria) this;
        }

        public Criteria andRatioANotEqualTo(Double value) {
            addCriterion("ratio_A <>", value, "ratioA");
            return (Criteria) this;
        }

        public Criteria andRatioAGreaterThan(Double value) {
            addCriterion("ratio_A >", value, "ratioA");
            return (Criteria) this;
        }

        public Criteria andRatioAGreaterThanOrEqualTo(Double value) {
            addCriterion("ratio_A >=", value, "ratioA");
            return (Criteria) this;
        }

        public Criteria andRatioALessThan(Double value) {
            addCriterion("ratio_A <", value, "ratioA");
            return (Criteria) this;
        }

        public Criteria andRatioALessThanOrEqualTo(Double value) {
            addCriterion("ratio_A <=", value, "ratioA");
            return (Criteria) this;
        }

        public Criteria andRatioAIn(List<Double> values) {
            addCriterion("ratio_A in", values, "ratioA");
            return (Criteria) this;
        }

        public Criteria andRatioANotIn(List<Double> values) {
            addCriterion("ratio_A not in", values, "ratioA");
            return (Criteria) this;
        }

        public Criteria andRatioABetween(Double value1, Double value2) {
            addCriterion("ratio_A between", value1, value2, "ratioA");
            return (Criteria) this;
        }

        public Criteria andRatioANotBetween(Double value1, Double value2) {
            addCriterion("ratio_A not between", value1, value2, "ratioA");
            return (Criteria) this;
        }

        public Criteria andRatioBIsNull() {
            addCriterion("ratio_B is null");
            return (Criteria) this;
        }

        public Criteria andRatioBIsNotNull() {
            addCriterion("ratio_B is not null");
            return (Criteria) this;
        }

        public Criteria andRatioBEqualTo(Double value) {
            addCriterion("ratio_B =", value, "ratioB");
            return (Criteria) this;
        }

        public Criteria andRatioBNotEqualTo(Double value) {
            addCriterion("ratio_B <>", value, "ratioB");
            return (Criteria) this;
        }

        public Criteria andRatioBGreaterThan(Double value) {
            addCriterion("ratio_B >", value, "ratioB");
            return (Criteria) this;
        }

        public Criteria andRatioBGreaterThanOrEqualTo(Double value) {
            addCriterion("ratio_B >=", value, "ratioB");
            return (Criteria) this;
        }

        public Criteria andRatioBLessThan(Double value) {
            addCriterion("ratio_B <", value, "ratioB");
            return (Criteria) this;
        }

        public Criteria andRatioBLessThanOrEqualTo(Double value) {
            addCriterion("ratio_B <=", value, "ratioB");
            return (Criteria) this;
        }

        public Criteria andRatioBIn(List<Double> values) {
            addCriterion("ratio_B in", values, "ratioB");
            return (Criteria) this;
        }

        public Criteria andRatioBNotIn(List<Double> values) {
            addCriterion("ratio_B not in", values, "ratioB");
            return (Criteria) this;
        }

        public Criteria andRatioBBetween(Double value1, Double value2) {
            addCriterion("ratio_B between", value1, value2, "ratioB");
            return (Criteria) this;
        }

        public Criteria andRatioBNotBetween(Double value1, Double value2) {
            addCriterion("ratio_B not between", value1, value2, "ratioB");
            return (Criteria) this;
        }

        public Criteria andJoinsIsNull() {
            addCriterion("joins is null");
            return (Criteria) this;
        }

        public Criteria andJoinsIsNotNull() {
            addCriterion("joins is not null");
            return (Criteria) this;
        }

        public Criteria andJoinsEqualTo(Integer value) {
            addCriterion("joins =", value, "joins");
            return (Criteria) this;
        }

        public Criteria andJoinsNotEqualTo(Integer value) {
            addCriterion("joins <>", value, "joins");
            return (Criteria) this;
        }

        public Criteria andJoinsGreaterThan(Integer value) {
            addCriterion("joins >", value, "joins");
            return (Criteria) this;
        }

        public Criteria andJoinsGreaterThanOrEqualTo(Integer value) {
            addCriterion("joins >=", value, "joins");
            return (Criteria) this;
        }

        public Criteria andJoinsLessThan(Integer value) {
            addCriterion("joins <", value, "joins");
            return (Criteria) this;
        }

        public Criteria andJoinsLessThanOrEqualTo(Integer value) {
            addCriterion("joins <=", value, "joins");
            return (Criteria) this;
        }

        public Criteria andJoinsIn(List<Integer> values) {
            addCriterion("joins in", values, "joins");
            return (Criteria) this;
        }

        public Criteria andJoinsNotIn(List<Integer> values) {
            addCriterion("joins not in", values, "joins");
            return (Criteria) this;
        }

        public Criteria andJoinsBetween(Integer value1, Integer value2) {
            addCriterion("joins between", value1, value2, "joins");
            return (Criteria) this;
        }

        public Criteria andJoinsNotBetween(Integer value1, Integer value2) {
            addCriterion("joins not between", value1, value2, "joins");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}